#!/bin/bash
case $1 in
stop)
#kill -9 `ps -ef | grep 'svnserve' |awk 'NR==1{print $2}'`;;

killall svnserve;;
start)
#svnserve -d -r /data/srv --listen-host 0.0.0.0 --listen-port 3690;;
svnserve -d -r /data/srv;;
restart)
killall svnserve
svnserve -d -r /data/srv;;
*)
echo "please check input!"
esac

